package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog dog=new Dog("来福",1,"黑");
        dog.eat();
        dog.drink();
        dog.lookDoor();
        Chick chick=new Chick("小只因",2,"黄");
        chick.eat();
        chick.drink();
        chick.eggs();
        Fish fish=new Fish("锦鲤",1,"金");
        fish.eat();
        fish.drink();
    }
}
